#ifndef __BASICMATH_H__
#define __BASICMATH_H__
#include "main.h"

//取符号
#define GET_SIGN(x)  ((x >= 0)? (1) : (-1) )
//绝对值
#define ABS(x)  ((x>0)? (x): (-x) )
void abs_limit(float *a, float ABS_MAX);

#endif

